﻿<Window x:Class="Corina.Win.ServerHub.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="clr-namespace:Corina.Controls.Win;assembly=Corina.Controls.Win"
        xmlns:localViewmodel="clr-namespace:Corina.Win.ServerHub.Viewmodels"
        Title="{Binding AppTitle}"
        Width="960"
        Height="600"
        Style="{DynamicResource style_mainwindow}">
    <Window.DataContext>
        <localViewmodel:MainViewmodel />
    </Window.DataContext>
    <Grid Margin="10" MouseLeftButtonDown="MoveWindow">
        <Grid.Effect>
            <DropShadowEffect BlurRadius="10" ShadowDepth="0" />
        </Grid.Effect>
        <Grid Background="White" Opacity="0" />

        <ContentPresenter HorizontalAlignment="Stretch"
                          VerticalAlignment="Stretch"
                          Content="{Binding ElementView}" />

    </Grid>
</Window>
